package com.yh.Iservice.impl;

import com.yh.Iservice.UserService;
import com.yh.dao.UsersDao;
import com.yh.entity.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UsersDao usersDao;
    @Override
    public List<Users> userList() {
        return usersDao.userList();
    }
}
